/*
 * CS_SOCIAL_MYINFO.cpp
 *
 *  Created on: 2013. 10. 11.
 *      Author: the2
 */

#include "../../Command.h"
#include "../../User.h"
#include "../../Proxy.h"
#include "../../../../protocol/iFriends.h"

namespace ProjectZ { namespace NCommand {

void Command::CS_SOCIAL_MYINFO(User * pUser, ::Network::Packet * pPacket)
{
	PREPARE_PACKET;

	SocialMyInfoSyn msg;

	msg.socialid = atoll(pUser->GetSocialID().c_str());
//	msg.nickname.assign(pUser->GetUserInfo().nickname);
	msg.nickname = pUser->GetUserNickName();
	msg.profile_url.assign(pUser->GetUserInfo().profile_url);

	::ProjectZ::NProxy::SendFriendsServer(pUser->GetUserSeq(), msg);
}

} /*NCommand*/ } /*ProjectZ*/



